<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="lib/vue.js"></script>
</head>
<body>
<div id="root">
    <div @click="outerHandler" style="background:red;width:500px;height: 500px;">
        <div @click.stop="middleHandler" style="background:green;width:300px;height: 300px;">
            <div @click="innerHandler" style="background:pink;width:100px;height: 100px;"></div>
        </div>
    </div>
</div>
</body>
<script>
	new Vue({
		el: "#root",
        methods:{
			innerHandler(e){
				// e.stopPropagation();
				console.log("innerHandler")
            },
			middleHandler(){
				console.log("middleHandler")
			},
			outerHandler(){
				console.log("outerHandler")
			}
        }
	})
</script>
</html>